package com.travel.modules.sys.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * null
 * @TableName sys_msg
 */
@Data
@TableName("sys_msg")
public class SysMsg implements Serializable {
    /**
     *
     */
    @TableId
    private Integer id;

    /**
     * 发送用户id
     */
    private Integer userId;
    @TableField(exist = false)
    private String loginName;
    @TableField(exist = false)
    private Integer roleId;

    /**
     * 类型：景点、酒店、路线、宣传
     */
    private String type;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 内容
     */
    private String content;

    /**
     * 目标id，审核时操作
     */
    private String targetId;

    /**
     * 父级区域id，审核时操作
     */
    private String parentAreaId;

    /**
     * 类名
     */
    private String className;

    /**
     * 方法名
     */
    private String methodName;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sys_msg
     *
     * @mbg.generated 2021-05-05 10:29:08
     */
    private static final long serialVersionUID = 1L;
}